Namespaces

Types in FluentNHibernate.Mapping.Builders

Type ManyToOneBuilder<TOther>

Namespace FluentNHibernate.Mapping.Builders

Methods

Properties

Public instance methods

ManyToOneBuilder<TOther> ForeignKey()

Specifies this relationship should be created with a default-named foreign key.

ManyToOneBuilder<TOther> PropertyRef(Expression<Func<TOther, object>> expression)

Specifies the property reference
Parameters
Expression<Func<TOther, object>> expression

Property

Public properties

AccessStrategyBuilder<T> Access get;

Specifies the access strategy for this relationship

CascadeExpression<TParent> Cascade get;

Specifies the cascade behaviour for this relationship

ColumnMappingCollection<TParent> Columns get;

Modify the columns collection

FetchTypeExpression<TParent> Fetch get;

Set the fetching strategy

ManyToOneBuilder<TOther> Not get;

Inverts the next boolean

NotFoundExpression<TParent> NotFound get;

Set the behaviour for when this relationship is null in the database